package com.yztc.youbadbad.model;

import com.yztc.youbadbad.bean.other.ProductInfoBean;
import com.yztc.youbadbad.http.HttpUtils;
import com.yztc.youbadbad.ui.other.activity.interfaces.CommodityInfoInterfaces;

import rx.Observable;

/**
 * 商品详情的实现类
 * Created by Tiffany.V.Chou on 2016/11/18.
 */

public class ProductInfoModelImpl implements CommodityInfoInterfaces.IProductInfoModel {
    @Override
    public Observable<ProductInfoBean> getProdectInfoObservable(String product_id) {
        return HttpUtils.getInstance().getIApi().getProdectInfoObservable(product_id);
    }
}
